package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 获奖对象 t_prize
 * 
 * @author ruoyi
 * @date 2020-04-17
 */
public class Prize extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 获奖成果名称 */
    @Excel(name = "获奖成果名称")
    private String awardName;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String certificateNo;

    /** 获奖时间 */
    @Excel(name = "获奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date prizeTime;

    /** 授奖单位 */
    @Excel(name = "授奖单位")
    private String awardDept;

    /** 奖项名称 */
    @Excel(name = "奖项名称")
    private String priveName;

    /** 奖项级别 */
    @Excel(name = "奖项级别")
    private Integer prizeLevel;

    /** 奖项类别（国家级/省级） */
    @Excel(name = "奖项类别", readConverterExp = "国=家级/省级")
    private Integer prizeType;

    /** 主要完成单位 */
    @Excel(name = "主要完成单位")
    private String mainCompletedDept;

    /** 我院排序 */
    @Excel(name = "我院排序")
    private String ownSort;

    /** 主要完成人 */
    @Excel(name = "主要完成人")
    private String mainCompletedMan;

    /** 单位id */
    @Excel(name = "单位id")
    private Long reportUnitId;

    /** 申报单位 */
    @Excel(name = "申报单位")
    private String reportUnit;

    /** 申报时间 */
    @Excel(name = "申报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /** 科室 */
    @Excel(name = "科室")
    private Long departmentId;

    /** 科室 */
    @Excel(name = "科室")
    private String department;

    /** 文档类型 */
    @Excel(name = "文档类型")
    private Integer docType;

    /** 是否包含组件 */
    @Excel(name = "是否包含组件")
    private Integer hasAppendix;

    /** 审核状态   1未审核，2审核中，3审核通过 */
    @Excel(name = "审核状态   1未审核，2审核中，3审核通过")
    private Integer auditState;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long creator;

    private String searchParam;

    public String getSearchParam() {
        return searchParam;
    }

    public void setSearchParam(String searchParam) {
        this.searchParam = searchParam;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAwardName(String awardName) 
    {
        this.awardName = awardName;
    }

    public String getAwardName() 
    {
        return awardName;
    }
    public void setCertificateNo(String certificateNo) 
    {
        this.certificateNo = certificateNo;
    }

    public String getCertificateNo() 
    {
        return certificateNo;
    }
    public void setPrizeTime(Date prizeTime) 
    {
        this.prizeTime = prizeTime;
    }

    public Date getPrizeTime() 
    {
        return prizeTime;
    }
    public void setAwardDept(String awardDept) 
    {
        this.awardDept = awardDept;
    }

    public String getAwardDept() 
    {
        return awardDept;
    }
    public void setPriveName(String priveName) 
    {
        this.priveName = priveName;
    }

    public String getPriveName() 
    {
        return priveName;
    }
    public void setPrizeLevel(Integer prizeLevel) 
    {
        this.prizeLevel = prizeLevel;
    }

    public Integer getPrizeLevel() 
    {
        return prizeLevel;
    }
    public void setPrizeType(Integer prizeType) 
    {
        this.prizeType = prizeType;
    }

    public Integer getPrizeType() 
    {
        return prizeType;
    }
    public void setMainCompletedDept(String mainCompletedDept) 
    {
        this.mainCompletedDept = mainCompletedDept;
    }

    public String getMainCompletedDept() 
    {
        return mainCompletedDept;
    }
    public void setOwnSort(String ownSort) 
    {
        this.ownSort = ownSort;
    }

    public String getOwnSort() 
    {
        return ownSort;
    }
    public void setMainCompletedMan(String mainCompletedMan) 
    {
        this.mainCompletedMan = mainCompletedMan;
    }

    public String getMainCompletedMan() 
    {
        return mainCompletedMan;
    }
    public void setReportUnitId(Long reportUnitId) 
    {
        this.reportUnitId = reportUnitId;
    }

    public Long getReportUnitId() 
    {
        return reportUnitId;
    }
    public void setReportUnit(String reportUnit) 
    {
        this.reportUnit = reportUnit;
    }

    public String getReportUnit() 
    {
        return reportUnit;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setDocType(Integer docType) 
    {
        this.docType = docType;
    }

    public Integer getDocType() 
    {
        return docType;
    }
    public void setHasAppendix(Integer hasAppendix) 
    {
        this.hasAppendix = hasAppendix;
    }

    public Integer getHasAppendix() 
    {
        return hasAppendix;
    }
    public void setAuditState(Integer auditState) 
    {
        this.auditState = auditState;
    }

    public Integer getAuditState() 
    {
        return auditState;
    }
    public void setGmtTime(Date gmtTime) 
    {
        this.gmtTime = gmtTime;
    }

    public Date getGmtTime() 
    {
        return gmtTime;
    }
    public void setCreator(Long creator) 
    {
        this.creator = creator;
    }

    public Long getCreator() 
    {
        return creator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("awardName", getAwardName())
            .append("certificateNo", getCertificateNo())
            .append("prizeTime", getPrizeTime())
            .append("awardDept", getAwardDept())
            .append("priveName", getPriveName())
            .append("prizeLevel", getPrizeLevel())
            .append("prizeType", getPrizeType())
            .append("mainCompletedDept", getMainCompletedDept())
            .append("ownSort", getOwnSort())
            .append("mainCompletedMan", getMainCompletedMan())
            .append("reportUnitId", getReportUnitId())
            .append("reportUnit", getReportUnit())
            .append("reportTime", getReportTime())
            .append("departmentId", getDepartmentId())
            .append("department", getDepartment())
            .append("docType", getDocType())
            .append("hasAppendix", getHasAppendix())
            .append("remark", getRemark())
            .append("auditState", getAuditState())
            .append("gmtTime", getGmtTime())
            .append("creator", getCreator())
            .toString();
    }
}
